<include file="Admin/Tpl/Public/header.html"/>
<include file="Admin/Tpl/Public/company_nav.html"/>
<style type="text/css">
tr,td{ text-align:center; vertical-align:middle}
</style>
<div id="main-content">
	<div class="content-box column-right">
      <div class="content-box-header"><h3 style="float:left">数据统计</h3></div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <table style="width:100%; border-radius:10px;">
            <tr>
                <td style="width:15%">当前APP安装</td>
                <td>
                    <table>
                        <tr>
                            <td>iPhone</td>
                            <td>Android</td>
                            <td>总安装量</td>
                        </tr>
                        <tr>
                            <td>{$rs.count_IOS}</td>
                            <td>{$rs.count_ANDROID}</td>
                            <td>{$rs.total_count}</td>
                        </tr>
                    </table>
                </td>
            </tr>
            <!--<tr>
                <td style="width:15%">BBS讨论区</td>
                <td>
                    <table>
                        <tr>
                            <td width="50%">留言数</td>
                            <td>EXCEL导出</td>
                        </tr>
                        <tr>
                            <td>{$rs.max_comment}</td>
                            <td><a href="__URL__/comment_excel">下载</a></td>
                        </tr>
                    </table>
                </td>
            </tr>-->
            <!--<tr>
                <td>投票结果统计</td>
                <td>
                    <table>
                        <tr>
                            <td width="50%">投票题目数</td>
                            <td>EXCEL导出</td>
                        </tr>
                        <tr>
                            <td>{$rs.count_question}</td>
                            <td><a href="__URL__/mkexcel_two">下载</a></td>
                        </tr>
                    </table>
                </td>
            </tr>-->
            <tr>
                <td style="width:15%">用户资料</td>
                <td>
                    <table>
                        <tr>
                            <td width="50%">总用户数</td>
                            <td>EXCEL导出</td>
                        </tr>
                        <tr>
                            <td>{$rs.count_audience}</td>
                            <td><a href="__URL__/audience_excel">下载</a></td>
                        </tr>
                    </table>
                </td>
            </tr><!--
            <tr>
                <td style="width:15%">讲师资料</td>
                <td>
                    <table>
                        <tr>
                            <td width="50%">演讲嘉宾</td>
                            <td>EXCEL导出</td>
                        </tr>
                        <tr>
                            <td>{$rs.count_speaker}</td>
                            <td><a href="__URL__/speaker_excel">下载</a></td>
                        </tr>
                    </table>
                </td>
            </tr>-->
            </table>
        <!-- End #tab3 -->
      </div>
      <!-- End .content-box-content -->
    </div>
    <div class="content-box column-left">
      <div class="content-box-header">
        <!-- Add the class "closed" to the Content box header to have it closed by default -->
        <h3 style="float:left">最新修改</h3>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
      	<table>
            <tr>
                <td style="width:15%">修改信息</td>
                <td>
                    <table id="contentTab" page="1">
                    </table>
                </td>
            </tr>
        </table>
        <!-- End #tab3 -->
      </div>
      <!-- End .content-box-content -->
    </div>
</div>
</body>
</html>
<script type="text/javascript">
	function getTab()
	{
		$page=$('#contentTab').attr('page');
		$.ajax({
			type:'post',
			url:'__URL__/get_useruptTab',
			data:"page="+$page,
			dataType:"html",
			success:function(data)
			{
				$('#contentTab').html(data);	
				$('#contentTab').find('a').click(function(event)
				{
					event.preventDefault();
					var PAGE=$(this).attr('page');
					$('#contentTab').attr('page',PAGE).load();
				});	
			}	
		});	
	}	
	getTab();
	$('#contentTab').load(function(){
		getTab();	
	}); 
</script>